package org.example.javawebday1.service;

import com.aliyuncs.exceptions.ClientException;
import org.example.javawebday1.pojo.Emp;
import org.example.javawebday1.pojo.EmpQueryForm;
import org.example.javawebday1.pojo.LoginInfo;
import org.example.javawebday1.pojo.Result;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface EmpsService {

    Result getEmps(EmpQueryForm empQueryForm);

    Result addEmps(Emp emp);

    Result fileUpload(MultipartFile file);

    Result deleteEmps(Integer[] ids);

    Result getEmpById(Integer id);

    Result updateEmp(Emp emp);

    Result empLogin(String username, String password);

    LoginInfo empLogin2(String username, String password);


}
